responses={}#这里千万不能少打s使它和下面的response一样，否则程序运行到第九行和第十六行会报错

polling_active=True

while polling_active:
    name=input("\nWhat is your name?")
    response=input("Which mountain would you like to climb some day")

    responses[name]=response

    repeat=input("Would you like to let another person respond ?(yes/no)")
    if repeat=='no':
        polling_active=False

print("\n---Poll Results---\n")
for name,mountain in responses.items():
    print(f"{name.title()} would like to climb {mountain.title()} ")
